package com.itgaohe.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("tb_chat")
public class Chat {

    private Long id;
    private Long fromId;
    private Long toId;
    private String content;
    private LocalDateTime timestamp = LocalDateTime.now();
}
